<?php

class masterController {	
	
	public function DoActiveView () {

			if (isset($_GET["c"]) == "contact") {
				require_once ("view/contactView.php");
				require_once ("control/emailController.php");
				$emailController = new emailController();
				$emailController -> DoControll();
				require_once ("model/InputValidationHandler.php");
			} elseif (isset($_GET["a"]) == "about") {
				require_once ("view/aboutView.php");
			} elseif (isset($_GET["browser"]) == "browser") {
				require_once ("view/browserUsingVersion.php");
			} elseif (isset($_GET["portfolio"]) == "portfolio") {
				require_once ("view/portfolioView.php");
			} elseif (isset($_GET["php"])== "php") {
				require_once 'view/php.php';;
			} elseif (isset($_GET["javascript"])== "javascript") {
				require_once 'view/javascript.php';;
			}
			elseif (isset($_GET["asp"])== "asp") {
				require_once 'view/asp.php';;
			}
			
			 else {
				require_once 'view/welcomeView.php';
			}

	}

}
